home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 4.iso / dist / motif21_dev.idb / usr / Motif-2.1 / include / Xm / DropTrans.h.z / DropTrans.h
C/C++ Source or Header  |  2002-10-15  |  2KB  |  66 lines

  1. /* 
  2.  *  @OSF_COPYRIGHT@
  3.  *  COPYRIGHT NOTICE
  4.  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  5.  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  6.  *  the full copyright text.
  7. */ 
  8. /* 
  9.  * HISTORY
  10. */ 
  11. /*   $XConsortium: DropTrans.h /main/11 1995/07/14 10:31:45 drk $ */
  12. /*
  13. *  (c) Copyright 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  14.  
  15. #ifndef _XmDropTrans_h
  16. #define _XmDropTrans_h
  17.  
  18. #include <Xm/Xm.h>
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24. #define XmTRANSFER_FAILURE 0
  25. #define XmTRANSFER_SUCCESS 1
  26.  
  27. externalref WidgetClass xmDropTransferObjectClass;
  28.  
  29. typedef struct _XmDropTransferClassRec * XmDropTransferObjectClass;
  30. typedef struct _XmDropTransferRec      * XmDropTransferObject;
  31.  
  32. #ifndef XmIsDropTransfer
  33. #define XmIsDropTransfer(w) \
  34.     XtIsSubclass((w), xmDropTransferObjectClass)
  35. #endif /* XmIsDropTransfer */
  36.  
  37. typedef struct _XmDropTransferEntryRec {
  38.     XtPointer    client_data;
  39.     Atom        target;
  40. } XmDropTransferEntryRec, * XmDropTransferEntry;
  41.  
  42. /********    Public Function Declarations    ********/
  43.  
  44. extern Widget XmDropTransferStart( 
  45.                         Widget refWidget,
  46.                         ArgList args,
  47.                         Cardinal argCount) ;
  48. extern void XmDropTransferAdd( 
  49.                         Widget widget,
  50.                         XmDropTransferEntry transfers,
  51.                         Cardinal num_transfers) ;
  52.  
  53. #ifdef _SGIMOTIF
  54. extern void SG_DropTransferSuspend(Widget widget);
  55. extern void SG_DropTransferContinue(Widget widget);
  56. #endif /* _SGIMOTIF */
  57. /********    End Public Function Declarations    ********/
  58.  
  59.  
  60. #ifdef __cplusplus
  61. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  62. #endif
  63.  
  64. #endif /* _XmDropTrans_h */
  65. /* DON'T ADD ANYTHING AFTER THIS #endif */
  66.